QUERY.FLAGS_GET Function

Syntax

Flags as C = .FLAGS_GET()

Description

Returns the query options for the query list.

Discussion

The .FLAGS_GET() method returns the index flags ( query.options ) for the query list. Flags is a string of characters. If the query list is in descending order, Flags will include "D". If the index contains only unique key values, Flags will include "U".

Example

dim tbl as P
dim nrecs as N
dim qry as P
tbl = table.open("test")
query.filter = "ID <> ''"
query.options = "D"
qry = tbl.query_create()
? qry.flags_get()
= "D"

See Also